interface ObjGroup {
    readonly name: string,
    age: number,
    sex?: string,
}
let objName: ObjGroup = {
    name: 'xiaoming',
    age: 18,
    sex: '男'

}
let objName1: ObjGroup = {
    name: 'xiaohong',
    age: 10
}
let objName3: { name: string, age: number, sex?: string, [propName: string]: any };
objName3 = {
    name: 'tom',
    age: 18,
    sex: 'nan',
}
objName3.zheshu = 'henshuai';
console.log(objName3);
export {
    objName,
    objName1

}
